{include file="header.html"}
<script type="text/javascript">
    $(function(){
        $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
        $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
    });
</script>
<div id="rightTop">
    <p>{$lang.weiboreply}</p>
    <ul class="subnav">
        <li><span>{$lang.manage}</span></li>        
    </ul>
</div>
<div class="mrightTop">
    <div class="fontl">
        <form method="get">
            <div class="left">
                <input type="hidden" name="app" value="weiboreply" />
                <input type="hidden" name="act" value="index" />
                <select class="querySelect" name="field">{html_options options=$search_options selected=$smarty.get.field}
                </select><input class="queryInput" type="text" name="search_name" value="{$query.search_name|escape}" />
                {$lang.add_time_from} <input class="queryInput2" style="width:65px;" type="text" value="{$query.add_time_from}" id="add_time_from" name="add_time_from" class="pick_date" />
                {$lang.add_time_to} <input class="queryInput2" style="width:65px;" type="text" value="{$query.add_time_to}" id="add_time_to" name="add_time_to" class="pick_date" />
               
                <input type="submit" class="formbtn" value="{$lang.query}" />
            </div>
            <!--{if $filtered}-->
            <a class="left formbtn1" href="index.php?app=weiboreply">{$lang.cancel_query}</a>
            <!--{/if}-->
        </form>
    </div>
    <div class="fontr">
        {include file=page.top.html}
    </div>
    <div class="clear:both;"></div>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $weiboreplylist}-->
        <tr class="tatr1">
            <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
            <td align="left">{$lang.title}</td>
            <td>{$lang.username} | {$lang.realname}</td>
            <td>{$lang.content}</td>
            <td style="text-align: center;">{$lang.replydate}</td>
            <td>{$lang.handler}</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$weiboreplylist item=article}-->
        <tr class="tatr2">
            <td class="firstCell"> <input type="checkbox" class="checkitem" value="{$article.reply_id}"/></td>
            <td>{$article.titlew|escape|truncate:15}</td>
            <td>{$article.user_name|escape} | {$article.real_name|escape}</td>
            <td>{$article.content|escape|truncate:30}</td>
            <td style="text-align: center;">{$article.replydate|date:Y-m-d H:i}</td>
            <td><a href="index.php?app=weiboreply&amp;act=drop&amp;id={$article.reply_id}">删除</a></td>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="7">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $weiboreplylist}-->
    <div id="dataFuncs">
        <div class="pageLinks">
            {include file=page.bottom.html}
        </div>
        <div id="batchAction" class="left paddingT15">
            &nbsp;&nbsp;
            <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=weiboreply&act=drop" presubmit="confirm('{$lang.drop_confirm}');" />
            &nbsp;&nbsp;
            <!--<input class="formbtn batchButton" type="button" value="lang.update_order" name="id" presubmit="updateOrder(this);" />-->
        </div>
        <div class="clear:both;"></div>
    </div>
    <div class="clear"></div>
    <!--{/if}-->
</div>
{include file="footer.html"}
